using System.Text.Json.Serialization;

namespace IMClient.Model.DTO
{
    public class GroupInfoResponseDto
    {
        [JsonPropertyName("code")]
        public string Code { get; set; } = string.Empty;

        [JsonPropertyName("message")]
        public string Message { get; set; } = string.Empty;

        [JsonPropertyName("data")]
        public GroupInfoData? Data { get; set; }
    }

    public class GroupInfoData
    {
        [JsonPropertyName("group")]
        public GroupDto? Group { get; set; }

        [JsonPropertyName("members")]
        public List<FriendDto>? Members { get; set; }
    }
} 